package com.demo.one_2.controller;

import com.demo.one_2.factory.IFactory;
import com.demo.one_2.factory.impl.KeyboardFactory;
import com.demo.one_2.factory.impl.MouseFactory;

/**
 * @author SunChangSheng
 * @apiNote
 * @since 2021/12/15 11:16
 */
public class Controller {
    public static void main(String[] args) {
        //鼠标
        IFactory mouseFactory = new MouseFactory();
        mouseFactory.prod().production();
        //键盘
        IFactory keyboardFactory = new KeyboardFactory();
        keyboardFactory.prod().production();
    }
}
